$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;

.home {
  position: relative;
  width: 100%;

  .banner {
    width: 100%;
    position: relative;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }

    a {
      position: absolute;
      left: 50%;
      bottom: 8%;
      transform: translateX(-50%);
      border: 1px solid #000;
      font-size: $fontSize_22;
      padding: 0.6vw 2vw;
      border-radius: 30px;
      color: #000;
      font-weight: bold;
      transition: all 600ms;

      &:hover {
        background-color: #000;
        color: white;
      }
    }
  }

  .section1 {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8C8C8C;

    .content {
      display: flex;
      justify-content: space-between;
      width: 70vw;
      align-items: center;
      .pic {
        width: 30vw;
        height: 30vw;
        border-radius: 15px;
        background: linear-gradient(0deg, #FAFAFA 0%, #FAFAFA 100%), url(<path-to-image>) lightgray -359.511px 0px / 244.447% 100% no-repeat;
        box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.10);
        display: flex;
        align-items: center;
        justify-content: center;

        img {
          max-width: 100%;
          max-height: 100%;
          object-fit: contain;
        }
      }

      .info {
        width: 30vw;
        .colors {
          display: flex;
          align-items: center;
          justify-content: space-between;
          .st {
            width: 80px;
            font-size: $fontSize_22;
            font-weight: bold;
          }

          .chose {
            width: calc(95% - 80px);
            display: flex;
            align-items: center;
            .i {
              width: 2.8vw;
              height: 2.8vw;
              border-radius: 50%;
              background: #EB2A2C;
              margin-right: 15px;
              cursor: pointer;
            }
          }
        }
        .specs{
          display: flex;
          margin-top: 4vw;
          justify-content: space-between;
          .st {
            width: 80px;
            font-size: $fontSize_22;
            font-weight: bold;
          }
          .desc{
            width: calc(95% - 80px);
            .ds{
              display: flex;
              justify-content: space-between;
              line-height: 1.8;
              p{
                width: 50%;
                font-size: $fontSize_18;
              }
            }
          }
        }
      }
    }
  }

  .pics {
    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }
  }

  .recommend {
    width: 65vw;
    margin: 4vw auto;

    .t {
      font-size: $fontSize_32;
      font-weight: 700;
      text-transform: uppercase;
    }

    .pros {
      margin-top: 3vw;

      a {
        .pic {
          overflow: hidden;

          img {
            width: 100%;
            display: block;
            object-fit: cover;
            transition: all 600ms;
          }
        }

        .name {
          color: #000;
          font-size: $fontSize_22;
          font-weight: 700;
          margin-top: 2vw;
          text-transform: uppercase;
        }

        &:hover {
          .pic {
            img {
              transform: scale(1.05);
            }
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    .banner{
      margin-top: 50px;
      img{
        min-height: 200px;
      }
      a{
        bottom:15%;
        font-size: 16px;
        padding: 5px 10px;
      }
    }
    .section1{
      height: auto;
      padding: 20px 0;
      .content{
        width: 100%;
        flex-direction: column;
        .pic{
          width: 90%;
          height: 300px;
        }
        .info{
          width: 90%;
          margin-top: 20px;
          .colors{
            .st{
              font-size: 16px;
            }
            .chose{
              .i{
                width: 30px;
                height: 30px;
              }
            }
          }
          .specs{
            flex-direction: column;
            .st{
              font-size: 16px;
              width: fit-content;
            }
            .desc{
              width: 100%;
              margin-top: 10px;
              .ds{
                p{
                  font-size: 16px;
                }
              }
            }
          }
        }
      }
    }
    .recommend{
      width: 90%;
      margin: 30px auto;
      .t{
        font-size: 18px;
      }
      .pros{
        margin-top: 15px;
        a{
          .name{
            font-size: 16px;
            margin-top: 15px;
          }
        }
      }
    }
  }
}